package com.fh.wanandroid.ui.project.contract;


import com.fh.wanandroid.base.BaseRxPresenter;
import com.fh.wanandroid.base.BaseView;
import com.fh.wanandroid.ui.mainpager.bean.FeedArticleListData;

public interface ProjectListContract {



    interface View extends BaseView {

        void refreshArticle(FeedArticleListData articleBean);

        void appendArticle(FeedArticleListData articleBean);

        void loadDataFail(String msg);
    }


    abstract class Presenter extends BaseRxPresenter<View> {

        /**
         * 加载首页文章
         */
        public abstract void loadInitData(int cid);

        /**
         * 加载更多文章
         */
        public abstract void loadMoreData(int cid);
    }
}
